<%@ page language="java"
	import="com.sql.*,com.database.*"
	pageEncoding="gb2312"%>
<%	 
      String BranchID="";
	  String OldBranchID = (String)session.getAttribute("oldBranchID");
	  BranchID=OldBranchID;
  	if(session.getAttribute("branchid")!=null){
  		BranchID=(String)session.getAttribute("branchid");
  	  }
  	  
  	  
  	 String Adtarea=request.getParameter("Adtarea");
  	 Adtarea=new CqmsBranch().getZhongWen(Adtarea);
  	 String BranchLogo=request.getParameter("BranchLogo");
  	 BranchLogo=new CqmsBranch().getZhongWen(BranchLogo);
  	 
  	 
	DataBase db2=new DataBase();
	String sql="update dbo.CQMS_Branch_Info set BranchAdvertist='"+Adtarea+"',BranchLogo='"+BranchLogo+"' where BranchID='"+BranchID+"'";
	db2.executeUpdate(sql);
	db2.closeStmt();
	db2.closeConn();
		
	response.sendRedirect("TicketSet.jsp");


%>
